package com.lino.design;

import com.alibaba.fastjson.JSON;
import com.lino.design.mq.OrderMq;

/**
 * @description: 订单消息服务
 * @author: lingjian
 * @createDate: 2022/12/20 10:26
 */
public class OrderMqService {

    public void OnMessage(String message) {
        OrderMq mq = JSON.parseObject(message, OrderMq.class);

        mq.getUid();
        mq.getOrderId();
        mq.getCreateOrderTime();

        // ...
    }
}
